/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package bean.session;

import entity.MarketSalesReportEntity;
import javax.ejb.Stateless;
import javax.ejb.LocalBean;
import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 *
 * @author sunwei
 */
@Stateless
@LocalBean
public class MarketSalesReportEntityFacade extends AbstractFacade<MarketSalesReportEntity>{

    // Add business logic below. (Right-click in editor and choose
    // "Insert Code > Add Business Method")
    @PersistenceContext(unitName = "MacTeam-warPU")
    private EntityManager em;

    protected EntityManager getEntityManager() {
        return em;
    }

    public MarketSalesReportEntityFacade() {
        super(MarketSalesReportEntity.class);
    }
    
    
}

